package net.zhengxinyun.performance.App.mapper;

import net.zhengxinyun.performance.App.entity.EcoIndexentity;
import net.zhengxinyun.performance.App.entity.PishiEntity;
import net.zhengxinyun.performance.App.entity.ZhongDianWorkEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DuChaMapper {

    List<ZhongDianWorkEntity> querywork(ZhongDianWorkEntity entity);

    int insertzhongdian(ZhongDianWorkEntity entity);
    int deletezhongdian(long id);

    int updatezhongdian(ZhongDianWorkEntity entity);

    ZhongDianWorkEntity getById(long id);

    List<PishiEntity> querypishi(PishiEntity entity);
    int insertpishi(PishiEntity entity);

    int deletepishi(long id);

    int updatepishi(PishiEntity entity);

    PishiEntity getByPiShiId(long id);
    List<EcoIndexentity> queryEcoIndex(EcoIndexentity ecoIndexentity);
    int insertEcoIndex(EcoIndexentity entity);

    int deleteEcoIndex(long id);

    int updateEcoIndex(EcoIndexentity entity);
}
